package com.github.od;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.ComponentScan;

/**
 * SpringBoot方式启动类
 *
 * @author xieweikun
 * @Date 2017/11/14 11:02
 */
@SpringBootApplication
// TODO 测试JWT时，需注销@EnableEurekaClient和@EnableZuulProxy标签
@EnableEurekaClient
@EnableZuulProxy
@ComponentScan("com.github.od")
@EnableFeignClients
public class OdZuulApplication {

	public static void main(String[] args) {
		SpringApplication.run(OdZuulApplication.class, args);
	}

}
